﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JF.RealtimeNotifications.Notifiers.Feeds
{
    public class FeedItem
    {
        public string Title { get; set; }

        public string Description { get; set; }

        public string Link { get; set; }

        public int ItemId { get; set; }

        public DateTime PublishDate { get; set; }

        public int ChannelId { get; set; }

        public override string ToString()
        {
            StringBuilder result = new StringBuilder();
            result.Append(String.Format("Title {0}{1}",Title,Environment.NewLine));
            result.Append(String.Format("Link {0}{1}", Link, Environment.NewLine));
            result.Append(String.Format("Published {0}{1}", PublishDate, Environment.NewLine));

            return result.ToString();
        }
    }
}
